<template>
  <div class="box">
    <div class="boxone">
      <span @click="fun">&lt;</span>
      <span>兑换中心</span>
    </div>
    <hr />
    <div class="boxtow">
      <router-link to="/eraa">
        <span>盒花加钱购</span>
      </router-link>
      <router-link to="/erbb">
        <span>盒花兑好货</span>
      </router-link>
    </div>
    <div class="AAA"></div>
    <router-view></router-view>
    <!-- <Smallbzi v-for="(v,i) in 10" :key="i"></Smallbzi> -->
     <div class="ddd"></div>
    <Bb />
  </div>
</template>

<script>
// import Smallbzi from "@/components/SmallTown/smallbzi";
export default {
  components: {
    // Smallbzi,
  },
  methods: {
    fun() {
      this.$router.push("/smallTown");
    },
  },
};
</script>

<style scoped>
.AAA{
  height: 0.7rem;
}
.box {
  width: 100%;
  background-color: #f7f7f7;
}
.boxone {
  position: fixed;
  top: 0;
   display: flex;
  height: 0.4rem;
  width: 100%;
  background-color: white;
}
.boxone span {
  line-height: 0.4rem;
  padding-left: 0.4rem;
  padding-right: 0.8rem;
  font-size: 0.16rem;
}
.boxtow {
  position: fixed;
  top: 0.4rem;
  background-color: #f7f7f7;
  width: 100%;
  height: 0.4rem;
  line-height: 0.4rem;
  margin: 0 auto;

  display: flex;
  top: 0.4rem;
}
.boxtow span {
  flex: 1;
  padding: 0 0.6rem;
  color: #414141;
}
.ddd{
  height: 0.5rem;
}
</style>
